package com.qfedu.lc.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 1.用户表
 * </p>
 *
 * @author wgz
 * @since 2024-06-05
 * @Accessors(chain = true)
 *  public User setAccount(String account) {
 *         this.account = account;
 *         return this；
 *     }
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)// 表明当前方法 set 是链式调用
public class User implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String phone;

    private String account;

    private String password;

    private Integer status;

    private Date ctime;


}
